package AI;

import java.awt.Graphics;

import Main.SpaceGame;

public abstract class Person extends AiEntity
{
	String name;
	
	public Person(int x,int y,SpaceGame main, int health)
	{
		super(x,y, main, health);
		setPos(x,y);
		setName(NameGenerator.generateName());
	}
	
	public abstract void draw(Graphics g);
	
	public String getName()
	{
		return name;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
}
